package com.random;

public class QuJian {
	private double min;
	private double max;
	public double getMin() {
		return min;
	}
	public void setMin(double min) {
		this.min = min;
	}
	public double getMax() {
		return max;
	}
	public void setMax(double max) {
		this.max = max;
	}
	public QuJian(double min, double max) {
		this.min = min;
		this.max = max;
	}
	@Override
	public String toString() {
		return "QuJian [min=" + min + ", max=" + max + "]";
	}
	
	public String getQujianValue(){
		return String.format("%8.6f", getMax() - getMin());
	}
}
